package com.fastCms.business.frame.pojo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author lsquan
 * @since 2019-03-07
 */
@Data
@ApiModel(value = "CloudMenuVO对象", description = "菜单结构体")
public class CloudMenuVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "组织编码")
    private String organizeCode;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "父级id")
    private String pid;

    @ApiModelProperty(value = "菜单描述")
    private String menuDesc;

    @ApiModelProperty(value = "菜单布局位置:TOP;LEFT;RIGHT")
    private String position;

    @ApiModelProperty(value = "功能地址")
    private String href;

    @ApiModelProperty(value = "跳转链接地址")
    private String link;

    @ApiModelProperty(value = "排序字段，正序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "子菜单结构")
    public List<CloudMenuVO> childMenu;
}
